
import Base from '../../config/testing.env'
import flyio from "flyio";

// let base = Base.BASE_API
let base = '';

export const getProject= (params)=>{return flyio.get(`${base}/interface/getProject`,params)}
export const setProject= (params)=>{return flyio.post(`${base}/interface/setProject`,params)}
export const getInterfaceModel= (params)=>{return flyio.get(`${base}/interface/getInterfaceModel`,params)}
export const setInterfaceModel= (params)=>{return flyio.post(`${base}/interface/setInterfaceModel`,params)}
export const getTestCase= (params)=>{return flyio.get(`${base}/interface/getTestCase`,params)}
export const setAndUpdateTestCase= (params)=>{return flyio.post(`${base}/interface/setAndUpdateTestCase`,params)}
export const deleteTestCase= (id,params)=>{return flyio.get(`${base}/interface/deleteTestCase/${id}`,params)}



